home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4777 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
  2. From: Dan Pop <danpop@mail.cern.ch>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What Header Files Comprise the C Standard Library?
  5. Date: Tue, 6 Feb 1996 22:03:21 +0100
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <9602062103.AA20347@dxmint.cern.ch>
  8. References: <4f898d$jt@mother.usf.edu>
  9. X-NNTP-Posting-Host: hpl3sn03.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11. X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
  12.  
  13. yatesc@csee.usf.edu (Randy Yates) writes:
  14.  
  15. >On UNIX, the standard library includes the functions in stdio.h
  16. >and time.h, but NOT the math routines in math.h, in which case
  17. >you must inform the linker to search the math library with
  18. >the "-lm" swith. Does documentation exist that defines a mapping
  19. >between include files and libraries? 
  20.  
  21. In some cases, this is documented (rather poorly) in the man pages.
  22. Most man pages about the <math.h> functions mention libm.a.
  23.  
  24. Dan
  25. -- 
  26. Dan Pop
  27. CERN, CN Division
  28. Email: danpop@mail.cern.ch 
  29. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  30.